Skip to main content

revQueryIsAtStart

Type​

function

Summary​

Returns whether the beginning of a record set has been reached or not.

Syntax​

revQueryIsAtStart(<recordSetID>)

Description​

Use the revQueryIsAtStart function to stop when you reach the start of a record set.

If the operation is not successful, the revQueryIsAtStart function returns an error message that begins with the string "revdberr".

Parameters​

NameTypeDescription

recordSetID

The number returned by the revQueryDatabase function when the record set was created.

Examples​

repeat until revQueryIsAtStart(tCursor)
...
revMoveToPreviousRecord tCursor
end repeat

Value​

NameTypeDescription

return

The revQueryIsAtStart function returns true if the revMoveToPreviousRecord command has been called with the cursor pointing to the first record.

command: revMoveToPreviousRecord

function: revOpenDatabase, revCurrentRecord, revQueryDatabase, revCurrentRecordIsFirst, revQueryIsAtEnd

glossary: command

keyword: string

Compatibility and Support​

Introduced

LiveCode 2.9

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?